def line(s=None):
    print('ready')
    result = None
    while  True:
        line = (yield result)
        print(line)
        result = line.split(s)
        print(result)




m = line(',')
m.__next__()
m.send('a,v,b,n,m')
m.send('1,4,7,24,34,1')